package com.cqndt.site.dao;

import com.cqndt.site.entity.SysUser;
import com.cqndt.site.vo.SysUserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {
    List<SysUserVo> listByCondition(SysUserVo user);

    SysUserVo getByUserName(String userName);

    SysUserVo getById(Integer id);

    SysUser getByCondition(SysUserVo user);

    int addUser(SysUserVo vo);

    void updateUser(SysUserVo vo);

    void deleteUser(String[] ids);
}
